package fr.cephb.joperon.webapp.tag;

import java.io.IOException;


import javax.servlet.jsp.JspWriter;



public class AcnTag  extends AbstractContentTag
	{
	private static final long serialVersionUID = 1L;
	public AcnTag()
		{
		}
	
	@Override
	public void print(JspWriter out, String content) throws IOException
		{
		if(content.length()==0 )
			{
			out.print(content);
			}
		else
			{
			String acn= content.toUpperCase();
			out.println("<a href=\"http://www.ncbi.nlm.nih.gov/entrez/viewer.fcgi?db=nuccore&amp;id="+acn+"\">"+acn+"</a>");
			}
		}
	
	
	}
